package com.io;

import java.io.FileInputStream;
import java.io.IOException;

public class Input {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("1.html");
        byte[] buffer = new byte[1024];
        int bytesRead;

        while ((bytesRead = fis.read(buffer)) != -1) {
            System.out.print(new String(buffer, 0, bytesRead));
        }
        fis.close();
    }
}